<div style="width: 900px;position: relative;">
    <h1 mat-dialog-title style="display:inline-block;cursor:move;" mat-dialog-draggable>关联量测属性</h1>
    <mat-icon (click)="onNoClick()" class="dialog-close-btn">clear</mat-icon>
    <div mat-dialog-content  >
        <mat-tab-group mat-align-tabs="start">
            <mat-tab label="设备信息">
                <ul class="base-info">
                    <li>
                        <span>设备ID</span>
                        <p>{{detail.id}}</p>
                    </li>
                    <li>
                        <span>产品</span>
                        <p>{{detail.productName}}</p>
                    </li>
                    <li>
                        <span>所属物模型</span>
                        <p>{{detail.entityTypeName}}</p>
                    </li>
                    <li>
                        <span>所属网关</span>
                        <p>{{detail.parentName}}</p>
                    </li>
                    <li>
                        <span>设备使用状态</span>
                        <p>{{detail.entityTypeName}}</p>
                    </li>
                    <li>
                        <span>所属物模型</span>
                        <p>{{detail.entityTypeName}}</p>
                    </li>
                </ul>
            </mat-tab>
        </mat-tab-group>
        
        <mat-tab-group mat-align-tabs="start">
            <mat-tab label="量测属性">
                <ul class="measure-info">
                    <li *ngFor="let m of measureList">
                        <h4><mat-icon class="tooltip" [matTooltip]="getTooltip(m)">link</mat-icon>{{m.name}}({{m.code}})</h4>
                        <h3>{{getDesc(m)}}{{m.unit}}</h3>
                        <div>
                            <span>{{m.tdCreateTime || '--'}}</span>
                            <button class="measure-btn" mat-raised-button (click)="onMeasure(m)" color="primary">查看数据</button>
                        </div>
                    </li>
                </ul>
            </mat-tab>
        </mat-tab-group>
    </div> 
    <div mat-dialog-actions class="dialog-action">
        <button mat-raised-button (click)="onNoClick()" cdkFocusInitial>关闭</button>
    </div>
</div>
